package ${package}.mapper;

import ${package}.dto.${className}Dto;
import java.util.List;

/**
  *${tableComment}业务层Mapper
  *@author ${author}
  *@date ${date}
  */
public interface ${className}Mapper {
    /**
      *分页查询${tableComment}满足条件数据
      *@author zhuhg
      *@date 2020/05/21 19:43:42
      */
    List<${className}Dto> select${className}List(${className}Dto dto);

    /**
      *根据主键更新${tableComment}数据
      *@author zhuhg
      *@date 2020/05/21 19:43:42
      */
    int update${className}ById(${className}Dto dto);

    /**
      *根据dto新增${tableComment}数据
      *@author zhuhg
      *@date 2020/05/21 19:43:42
      */
    int save${className}Dto(${className}Dto dto);

    /**
      *根据主键查询${tableComment}数据
      *@author zhuhg
      *@date 2020/05/21 19:43:42
      */
    ${className}Dto select${className}ById(${className}Dto dto);
    
   
   /**
    *根据主键更新${tableComment}数据
    *@author zhuhg
    *@date 2020/05/21 19:43:42
    */
   int cancel${className}ById(${className}Dto dto);
}